import {GET,POST} from "@/api/api.ts";

const indexUrl = {
    list:'/system/wordAssociation/list',
    setAnswer:'/system/associationAnswer/answer',
    finishAnswer:'/system/scaleRecord/finalScale'
}
export default indexUrl
export const getAssociationList = ()=>{
    return GET(`${indexUrl.list}`)
}
//创建提交记录
export const setAssociationAnswer = (params:any)=>{
    return POST(`${indexUrl.setAnswer}`,params)
}
